 {% include file="index.header.tpl.php" %}
 {% include file="index.left.tpl.php" %}
 <!--左侧导航结束-->
        <style>
		@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width:1024px)  {
		#mytable, #mytable thead, #mytable tbody, #mytable th, #mytable td, #mytable tr { 
			display: block; 
		}
		#mytable thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		#mytable td { 
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left:44% !important; 
			padding-top:10px ;
		}
	    #mytable tr{ margin-bottom:20px;}
		#mytable td:before { 
			position: absolute;
			top:10px;
			left:8px;
			width: 45%; 
			padding-right:10px;
			white-space: nowrap;
		}
		    #mytable td:nth-of-type(1):before { content: "编号"; }
			#mytable td:nth-of-type(2):before { content: "姓名"; }
			#mytable td:nth-of-type(3):before { content: "变动事项"; }
			#mytable td:nth-of-type(4):before { content: "日期"; }
			#mytable td:nth-of-type(5):before { content: "源单位"; }
			#mytable td:nth-of-type(6):before { content: "目的单位"; }
			#mytable td:nth-of-type(7):before { content: "在岗信息"; }
			#mytable td:nth-of-type(8):before { content: "备注"; }
			#mytable td:nth-of-type(9):before { content: "操作"; }
        }		
	</style>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post"> 
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">班级量化考核</p>
                    <a href="index.php?a=quantification.nameadd" class="btn btn-primary btn-sm" style="float:right"> 新 增 </a>
                </div>
                   <div class="box-body">
                       <table class="table table-bordered table-striped " id="mytable">
                                <thead>
                                    <tr style="background-color:#6168fe ">
                                        <td>选择表格项目</td>
                                        <td>量化项目名称</td>
                                        <td width="130">操作</td>
                                    </tr>	
                                </thead>
                                <tbody>
								{%foreach from=$quan_lists key=key item=value%}
                                     <tr>
                                        <td><label>
										<input type="checkbox" name="clas_id[]" value="{%$value.clas_id%}"{%if $value.is_show == 1 %}checked{%/if%}></label></td>
                                        <td>{%$value.clas_quantification%}</td>
                                        <td>
                                        	  <a href="index.php?a=quantification.nameupdate&clas_id={%$value.clas_id%}" class="btn btn-warning btn-sm" title="修改"> <i class="fa fa-edit (alias)"></i>  </a>
                    						  <a href="index.php?a=quantification.namedel&clas_id={%$value.clas_id%}" title="删除" class="btn btn-danger btn-sm" onclick="if(confirm('警告！确认删除信息?')==false)return false;"> <i class="fa fa-trash"></i> </a>
                                        </td>
                                    </tr>
                                {%/foreach%}   
                            </tbody>
                        </table>
				   </div><!--box-body -->
                   <div class="box-footer">
                        <button type="submit" class="btn btn-primary"> 保 存</button>
						<a href="index.php?a=quantification.list" class="btn btn-success btn-sm" style="float:right"> 查看量化考核>></a>
                   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 {% include file="index.footer.tpl.php" %}
 